POV-Ray : Newsgroups : povray.unofficial.patches : contained_by qiery : Re: contained_by qiery Server Time
6 Oct 2024 10:52:39 EDT (-0400)
  Re: contained_by qiery  
From: Warp
Date: 22 Jul 2001 07:44:56
Message: <3b5abcb7@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote:
: Well, be aware that scaling or rotating an isosurface object does work on
: its container only, not the isosurface function (because its easier to
: implement).  So you just have to put the transformations in the isosurface
: block, not the contained_by block.

  This makes no sense, and it doesn't work that way, I just tested.
  If you scale (for example non-uniformly) an isosurface, the whole object
is scaled, not the container object only. That is, if you scale non-uniformly,
the isosurface gets squeezed as well, not the container only. As it should,
as it's logical.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.